import { defineStore } from "pinia";

const userInfoState = defineStore("user_info", {
    state: () => ({
        data: null
    }),
    getters: {
        getData() {
            return this.data;
        }
    }, actions: {
        setData(data) {
            this.data = data;
        }
    }
});
export default {
    userInfoState
}
